const fs = require('fs');
const path = require('path');
const {promisify} = require('util');

const readFile = promisify(fs.readFile);

module.exports = ()=>{
  return readFile(path.join(__dirname, '../data/names.txt'));
}